<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>line height</title>
  <style>
    .box > .line1 {
      font-size: 0;
      line-height: 30px;
      border: 1px solid #ccc;
      background: #ff7875;
    }
    .box > .split {
      height: 100px;
    }
    .box > .line2 {
      font-size: 30px;
      line-height: 0;
      border: 1px solid #ccc;
      background: #ff7875;
    }
    .box2 {
      font-size: 30px;
      /* line-height: 1.5em; */
      /* line-height: 150%; */
      line-height: 1.5;
    }
    .box2 > .line1 {
      height: 60px;
      font-size: 40px;
      border: 1px solid #ccc;
    }
    .box2 > .line2 {
      height: 45px;
      font-size: 30px;
      border: 1px solid #ccc;
    }
    .box2 > .line3 {
      height: 30px;
      font-size: 20px;
      border: 1px solid #ccc;
    }
    .box2 > .line4 {
      height: 21px;
      font-size: 14px;
      border: 1px solid #ccc;
    }
    .box3 {
      height: 256px;
      width: 256px;
      border: 1px solid #ccc;

      line-height: 256px;
    }
    .box3 > img {
      width: 128px;
      height: 128px;
      vertical-align: middle;
    }

    .box4 {
      line-height: 160px;
      font-size: 80px;
      color: #fff;
      font-family: "Microsoft YaHei";
      background: #ff7875;
    }
  </style>
</head>
<body>
  <div class="box">
    <div class="line1">line1</div>
    <div class="split"></div>
    <div class="line2">line2</div>
  </div>

  <div class="box2">
    <div class="line1">阿斯达</div>
    <div class="line2">阿斯达</div>
    <div class="line3">阿斯达</div>
    <div class="line4">阿斯达</div>
  </div>

  <div class="box3">
    x<img src="./18023.jpg" alt="图片">
  </div>

  <div class="box4">微软雅黑</div>
</body>
</html>